package com.dailyblue.java.spring.ioc.content;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;
import java.util.Map;

// 通过构造器给属性赋值
@Data
public class DemoD {
    private Integer a;
    private String b;
    private List<String> c;
    private Map<String,String> d;
    private DemoA da;

    public DemoD(Integer a, String b, List<String> c, Map<String, String> d, DemoA da) {
        this.a = a;
        this.b = b;
        this.c = c;
        this.d = d;
        this.da = da;
    }
}
